#!/bin/bash

JENKINS=/usr/share/jenkins
JENKINS_MIRROR=http://mirrors.jenkins-ci.org

cd ${JENKINS}
for plugin in git ssh gitlab-plugin   
do
	 #wget  -O $JENKINS/plugins/${plugin}.hpi $JENKINS_MIRROR/plugins/${plugin}/latest/${plugin}.hpi 
	/usr/local/bin/install-plugins.sh  ${plugin}.hpi 
done
